package com.emep.changzhi.analyse.repository.aqi;

import com.emep.changzhi.analyse.entity.aqi.AqiControlInfo;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author wangcc
 * @version V1.0
 * @Description: aqi管控表持久层
 * @date 2018/3/28  14:14
 */
public interface AqiControlInfoRepository extends JpaRepository<AqiControlInfo,String> {


    List<AqiControlInfo> findAqiControlInfoByPositionNameAndPollutant(String PositionName,String Pollutant );


    List<AqiControlInfo> findAll(Specification<AqiControlInfo> var1,Sort sort);

    AqiControlInfo findByPollutantAndPositionNameAndTimePoint(String pollutant , String positionName , String timePoint);




}
